﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Component
{

    public class Class1 : MarshalByRefObject,IComponent
    {
        string message = string.Empty;
        int number;
        float number2;

        public Class1(string input, int num)
        {
            message = input;
            number = num;
            number2 = 0;
        }

        public Class1(int num1, float num2)
        {
            message = "none";
            number = num1;
            number2 = num2;
        }

        public string Invoke()
        {
            return "This is TestLibrary. member---message:" + message + "number:" + number.ToString() + "number2:" +number2.ToString();
        }
    }
}
